package com.ddstation.onsitelaw.entity.auditentity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * mapping dt_health_data_medical_treament 门诊病历 检查治疗项
 * @author jinxiongjun
 * @date 2018年1月13日
 */
public class DtHealthDataMedicalTreatmentEntity {
	private Integer id;
	private Integer uid;
	private Integer childId;
	private Integer medicalId;//门诊病历ID
	private Integer itemId;//检查治疗项目ID
	private Integer itemType;//检查治疗项目类型
	private String itemName;//检查治疗项目名
	private Integer amount;//数量
	private String comment;
	
	private float itemPrice;//项目单价
	private String itemUnitText;//项目单位（文本）
	
	private Integer doctorId;
	private String doctorName;
	private Date issueDt; //开具日期
	private String issueDtText;
	private String disposalType;
	private String toothJson;

	public String getToothJson() {
		return toothJson;
	}

	public void setToothJson(String toothJson) {
		this.toothJson = toothJson;
	}

	//	private Integer type;// 类型 1010:治疗项目  1020：材料 add by zhengxb 2018.12.4
	private Integer prescriptionId;//处方ID
	private String tmpPrescriptionId;
	
	private Integer chargeStatus; //支付状态
	private Integer dispenseStatus; //发药状态
	
	private Integer source; // 0:本院 1:外配
	private Integer feeMode; // 0:免费 1:收费

	private BigDecimal stockQt1;//库存1
	private BigDecimal stockQt2;//库存2

	public String getDisposalType() {
		return disposalType;
	}

	public void setDisposalType(String disposalType) {
		this.disposalType = disposalType;
	}

	public Integer getPrescriptionId() {
		return prescriptionId;
	}
	public void setPrescriptionId(Integer prescriptionId) {
		this.prescriptionId = prescriptionId;
	}
	
	public Integer getItemType() {
		return itemType;
	}
	public void setItemType(Integer itemType) {
		this.itemType = itemType;
	}
	//	public Integer getType() {
//		return type;
//	}
//	public void setType(Integer type) {
//		this.type = type;
//	}
	public DtHealthDataMedicalTreatmentEntity() {}
	public DtHealthDataMedicalTreatmentEntity(Integer uid, Integer childId, Integer medicalId) {
		super();
		this.uid = uid;
		this.childId = childId;
		this.medicalId = medicalId;
	}
	public Integer getItemId() {
		return itemId;
	}
	public void setItemId(Integer itemId) {
		this.itemId = itemId;
	}
	public float getItemPrice() {
		return itemPrice;
	}
	public void setItemPrice(float itemPrice) {
		this.itemPrice = itemPrice;
	}
	public String getItemUnitText() {
		return itemUnitText;
	}
	public void setItemUnitText(String itemUnitText) {
		this.itemUnitText = itemUnitText;
	}
	
	public Integer getUid() {
		return uid;
	}
	public void setUid(Integer uid) {
		this.uid = uid;
	}
	public Integer getChildId() {
		return childId;
	}
	public void setChildId(Integer childId) {
		this.childId = childId;
	}
	public Integer getMedicalId() {
		return medicalId;
	}
	public void setMedicalId(Integer medicalId) {
		this.medicalId = medicalId;
	}
	public String getItemName() {
		return itemName;
	}
	public void setItemName(String itemName) {
		this.itemName = itemName;
	}
	public Integer getAmount() {
		return amount;
	}
	public void setAmount(Integer amount) {
		this.amount = amount;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	@Override
	public String toString() {
		return "DtHealthDataMedicalTreatmentEntity [uid=" + uid + ", childId=" + childId + ", medicalId=" + medicalId
				+ ", itemName=" + itemName + ", amount=" + amount
				+ ", comment=" + comment + "]";
	}
	public Integer getChargeStatus() {
		return chargeStatus;
	}
	public void setChargeStatus(Integer chargeStatus) {
		this.chargeStatus = chargeStatus;
	}
	public Integer getDoctorId() {
		return doctorId;
	}
	public void setDoctorId(Integer doctorId) {
		this.doctorId = doctorId;
	}
	public String getDoctorName() {
		return doctorName;
	}
	public void setDoctorName(String doctorName) {
		this.doctorName = doctorName;
	}
	public Date getIssueDt() {
		return issueDt;
	}
	public void setIssueDt(Date issueDt) {
		this.issueDt = issueDt;
	}
	public String getIssueDtText() {
		return issueDtText;
	}
	public void setIssueDtText(String issueDtText) {
		this.issueDtText = issueDtText;
	}
	public Integer getDispenseStatus() {
		return dispenseStatus;
	}
	public void setDispenseStatus(Integer dispenseStatus) {
		this.dispenseStatus = dispenseStatus;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getSource() {
		return source;
	}
	public void setSource(Integer source) {
		this.source = source;
	}
	public Integer getFeeMode() {
		return feeMode;
	}
	public void setFeeMode(Integer feeMode) {
		this.feeMode = feeMode;
	}

	public BigDecimal getStockQt1() {
		return stockQt1;
	}

	public void setStockQt1(BigDecimal stockQt1) {
		this.stockQt1 = stockQt1;
	}

	public BigDecimal getStockQt2() {
		return stockQt2;
	}

	public void setStockQt2(BigDecimal stockQt2) {
		this.stockQt2 = stockQt2;
	}
	public String getTmpPrescriptionId() {
		return tmpPrescriptionId;
	}
	public void setTmpPrescriptionId(String tmpPrescriptionId) {
		this.tmpPrescriptionId = tmpPrescriptionId;
	}
}
